package com.zl.learning.object.clone;

import org.junit.Test;

public class Test1 {
    @Test
    public void test1(){
        Student s1 = new Student();
        s1.setUsername("zhangsan");
        Student s2 = s1.clone();
        System.out.println(s2.getUsername());
        System.out.println(s1==s2);
    }
}
